﻿using LY.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace LY.Interface
{
    public interface IAboutService
    {
        /// <summary>
        /// 查找关于我们下的栏目信息
        /// </summary>
        /// <returns></returns>
        List<C_Menu> GetMenu(string code);
        /// <summary>
        /// 根据栏目Id检索文章信息
        /// </summary>
        /// <param name="menuid"></param>
        /// <returns></returns>
        C_Article GetArticleMenuId(int? menuid);
        /// <summary>
        /// 活动专区中的文章分页列表
        /// </summary>
        /// <param name="pageIndex"></param>
        /// <param name="pageSize"></param>
        /// <returns></returns>
        List<C_Article> GetArticleListPage(int? pageIndex, int pageSize);
        /// <summary>
        /// 根据文章ID查找文章信息
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        C_Article GetArticle(int? id);
    }
}
